package edu.service.impl;



import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import edu.dto.OrdersItemDto;
import edu.support.base.service.BaseServiceImpl;
import edu.mapper.OrdersItemMapper;
import edu.domain.OrdersItem;
import edu.service.OrdersItemService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * (OrdersItem)表服务实现类
 *
 * @date  20:03:45
 */
@Service
public class OrdersItemServiceImpl extends BaseServiceImpl<OrdersItemMapper, OrdersItem> implements OrdersItemService{

    @Autowired
    private OrdersItemMapper ordersItemMapper;

    /**
     * 根据条件查询购物明细
     *
     * @param queryWrapper
     * @return
     */
    @Override
    public List<OrdersItemDto> selectDto(QueryWrapper<OrdersItem> queryWrapper) {
        return ordersItemMapper.selectDto(queryWrapper);
    }
}
